//
//  AppDelegate.m
//  12期传智微博HJ
//
//  Created by mac on 15-1-28.
//  Copyright (c) 2015年 jun. All rights reserved.
//

#import "AppDelegate.h"
#import "HJUITabBarController.h"

@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    // Override point for customization after application launch.
    //创建windows
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor = [UIColor redColor];
    //创建设置根控制器
    HJUITabBarController *tabBarVc = [[HJUITabBarController alloc]init];
    self.window.rootViewController = tabBarVc;
    //显示窗口
    [self.window makeKeyAndVisible];
    return YES;
}

@end
